{if $msg_array neq ""}
	{section name=themessage loop=$msg_array}
		<a id="m{$msg_array[themessage].id}"></a>
		<div id="msg_wrap-{$msg_array[themessage].id}" style="display:">
			<div id="comment-head">
				<!--{if $msg_array[themessage].readed eq 0}<b> <img src="{$my_pligg_base}/templates/{$the_template}/images/msg_new.png" align="absmiddle" /> </b>&nbsp;&nbsp;&nbsp;&nbsp;{/if}-->
				于{$msg_array[themessage].date}发送给
				<a href="{$msg_array[themessage].receiver_view_url}">{if $UseAvatars neq "0"}<span id="msg_avatar-{$msg_array[themessage].id}"> <img src="{$msg_array[themessage].Avatar_ImgSrc}" align="absmiddle"/></span>{/if}
				 {$msg_array[themessage].receiver_names}</a>&nbsp;&nbsp;&nbsp;&nbsp;{$msg_array[themessage].title}
			</div>

			<div style="overflow:scroll;" class="comment-body" id="msgbody{$msg_array[themessage].id}"> 
				<span id = "msg_content-{$msg_array[themessage].id}"> <br />{$msg_array[themessage].body}</span> 
			</div>
			
			<div class="comment-info"> 
				<span id="comment-subhead">	
					<span id="reply-but-{$msg_array[themessage].id}">	</span>
				</span>  
						<a class="ratemey" href="javascript://" onclick="delmsg({$msg_array[themessage].id},'outbox')"><span class="rateme">删除</span></a>
			</div>
		
			<span id="reply_msg_hint-{$msg_array[themessage].id}"></span>
		
			<br>
		</div>
	{/section}
	
<form action="" method="POST">
	<input type="hidden" id="cur_page" name="cur_page" value={$cur_page} />
	<input type="hidden" id="page" name="page" value={$cur_page} />
{php} 
Global $db, $main_smarty, $rows, $top_users_size, $offset;
submit_user_do_pages($rows, $top_users_size, ''); 
{/php}
</form>
{else}
	<span>没有信件</span>	
{/if}
	